package com.todo.user.iface.backend.request;

import com.todo.common.common.entity.CurrentStaff;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author azhebuxing
 * @date 2024/4/10 10:34
 * @description
 */
@Data
@Schema(title = "用户禁言入参", description = "用户禁言入参")
public class MutedUserAccountReq {

private CurrentStaff _staff;
    /**
     * 用户id
     */
    @Schema(title = "用户id", description = "用户id")
    private Long userId;
    /**
     * 用户状态
     * {@link com.todo.user.common.enums.UserStatusEnum}
     */
    @Schema(title = "用户状态", description = "用户状态")
    private Integer status;
    /**
     * 原因
     */
    @Schema(title = "原因", description = "原因")
    private String reason;


    public boolean baseCheck() {
        if (userId == null || status == null || reason == null){
            return false;
        }
        return true;
    }
}
